﻿// <copyright file="SortType.cs" company="SingularityShift">
// Copyright (c) 2009 SingularityShift.com
// </copyright>
// <author>Ben McClure</author>
// <email>ben@singularityshift.com</email>
// <date>2009-08-14</date>
// <summary>An enum identifying how to sort the mods in an IModCollection</summary>
namespace GameLib.Games.Util
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Describes how to sort the IMods in an IModList
    /// </summary>
    public enum ModSortTypes
    {
        /// <summary>
        /// Sort the mods in the order they were imported
        /// </summary>
        ActualOrder,
        
        /// <summary>
        /// Sort the mods in the reverse order that they were imported
        /// </summary>
        ActualOrderReverse,
        
        /// <summary>
        /// Sort the mods by Filename
        /// </summary>
        FileName,
        
        /// <summary>
        /// Sort the mods by Filename in reverse
        /// </summary>
        FileNameReverse,
        
        /// <summary>
        /// Sort the mods by Time Modified from oldest to newest
        /// </summary>
        TimeModified,
        
        /// <summary>
        /// Sort the mods by Time Modified from newest to oldest
        /// </summary>
        TimeModifiedReverse
    }
}
